{extend name="main"}

{block name="button"}

{if auth('system')}
<a class="layui-btn layui-btn-sm layui-btn-primary" data-modal="{:url('system')}">修改系统参数</a>
{/if}

{/block}

{block name="content"}

<div class="think-box-shadow padding-40 padding-top-20 padding-bottom-20 margin-bottom-15">
    <div class="layui-form-item margin-bottom-5">
        <span class="color-green font-w7">可视化图表设置</span>
        <div class="padding-top-5">
            {foreach ['flyline'=>'飞线图','listChart'=>'排行列表','list'=>'排行列表2','pieChart'=>'饼图','waterChart'=>'水位图','histogramChart'=>'柱状图'] as $k => $v}
            {if sysconf('storage.type') eq $k}
            {if auth('storage')}<a data-title="配置{$v}" data-modal="{:url('storage')}?type={$k}" class="layui-btn layui-btn-sm">{$v}</a>{else}<a class="layui-btn layui-btn-sm">{$v}</a>{/if}
            {else}
            {if auth('storage')}<a data-title="配置{$v}" data-modal="{:url('storage')}?type={$k}" class="layui-btn layui-btn-sm layui-btn-primary">{$v}</a>{else}<a class="layui-btn layui-btn-sm">{$v}</a>{/if}
            {/if}
            {/foreach}
        </div>
    </div>
</div>

<div class="think-box-shadow padding-40 padding-top-30 padding-bottom-20 margin-bottom-15">
    <div class="layui-form-item">
        <div class="color-green font-w7">大屏标题 Large_screen_title</div>
        <label class="relative block">
            <input readonly value="{:sysconf('Large_screen_title')}" class="layui-input layui-bg-gray">
            <a data-copy="{:sysconf('Large_screen_title')}" class="fa fa-copy input-right-icon"></a>
        </label>
        <div class="help-block">输入抖音直播间分享链接</div>
    </div>
    <div class="layui-form-item">
        <div class="color-green font-w7">直播间一 LiveRoomOne</div>
        <label class="relative block">
            <input readonly value="{:sysconf('LiveRoomOne')}" class="layui-input layui-bg-gray">
            <a data-copy="{:sysconf('LiveRoomOne')}" class="fa fa-copy input-right-icon"></a>
        </label>
        <div class="help-block">输入抖音直播间分享链接</div>
    </div>
    <div class="layui-form-item">
        <div class="color-green font-w7">直播间二 LiveRoomTwo</div>
        <label class="relative block">
            <input readonly value="{:sysconf('LiveRoomTwo')}" class="layui-input layui-bg-gray">
            <a data-copy="{:sysconf('LiveRoomTwo')}" class="fa fa-copy input-right-icon"></a>
        </label>
        <div class="help-block">输入抖音直播间分享链接</div>
    </div>
    <div class="layui-form-item">
        <div class="color-green font-w7">直播间三 LiveRoomThree</div>
        <label class="relative block">
            <input readonly value="{:sysconf('LiveRoomThree')}" class="layui-input layui-bg-gray">
            <a data-copy="{:sysconf('LiveRoomThree')}" class="fa fa-copy input-right-icon"></a>
        </label>
        <div class="help-block">输入抖音直播间分享链接</div>
    </div>
    <div class="layui-form-item">
        <div class="color-green font-w7">直播间四 LiveRoomFour</div>
        <label class="relative block">
            <input readonly value="{:sysconf('LiveRoomFour')}" class="layui-input layui-bg-gray">
            <a data-copy="{:sysconf('LiveRoomFour')}" class="fa fa-copy input-right-icon"></a>
        </label>
        <div class="help-block">输入抖音直播间分享链接</div>
    </div>
</div>

{/block}